package org.csu.jpetstoreagain.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("item")
public class Item {

    @TableId(type = IdType.AUTO,value = "itemid")
    private String itemid;
    private String productid;
    private BigDecimal listprice;//表示价格
    private BigDecimal unitcost;
    private int supplier;
    private String status;
    private String attr1;
    private String attr2;
    private String attr3;
    private String attr4;
    private String attr5;

    @TableField(exist = false)
    private String getdees;
//    private Product product;
//    private int quantity;
}
